package kr.co.doriclassic.chpater22test;

import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;

public class SetTest {
	public static void main(String[] args) {
		//Set<String> s = new HashSet<>();
		//Set<String> s = new LinkedHashSet<>();
		Set<String> s = new TreeSet<>();
		s.add("Milk");
		s.add("Bread");
		s.add("Chease");
		s.add("Ham");
		s.add("Ham");
		System.out.println(s);
	}
}
